#if !defined(FAKE_D3D10_COUNTER_H)
#define FAKE_D3D10_COUNTER_H

#include <d3d10.h>
#include "Fakes/FakeD3D10Asynchronous.h"

class FakeD3D10Counter : public ID3D10Counter
{
public:
	FakeD3D10Counter()
		: Asynchronous()
	{ }

	CONTAIN_ASYNCHRONOUS(Asynchronous)

	virtual void STDMETHODCALLTYPE GetDesc(D3D10_COUNTER_DESC *pDesc) { throw rt::NotImplementedException(); }
};

#define CONTAIN_COUNTER(member_) \
	CONTAIN_ASYNCHRONOUS(Asynchronous) \
	virtual void STDMETHODCALLTYPE GetDesc(D3D10_COUNTER_DESC *pDesc) { return member_.GetDesc(pDesc); }

#endif
